import Vue from 'vue'
import VueRouter from 'vue-router'


Vue.use(VueRouter)

const routes = [
   {
    path:"/container",
    component:()=>import("../components/container.vue")
   },
   {
    path:"/table",
    component:()=>import("../components/table.vue")
   },
   {
    path:"/form",
    component:()=>import("../components/form.vue")
   },
   {
    path:"/js",
    component:()=>import("../components/js.vue")
   },
   {
    path:"/other",
    component:()=>import("../components/other.vue")
   },
   {
    path:"*",
    redirect:"/container"
   }
]

const router = new VueRouter({
  routes
})

export default router
